#!/bin/bash

mvn clean package  -Dmaven.test.skip=true

cp target/showsu-editor-be-1.0.jar /data/server/showsu-editor-be/

cd /data/server/showsu-editor-be/

pwd

time3=$(date "+%Y-%m-%d-%H:%M:%S")
echo $time3

mv showsu-editor-be.jar  showsu-editor-be.$time3.jar

ls -la

mv showsu-editor-be-1.0.jar showsu-editor-be.jar

ls -la

